package com.kaihong.template.ble.operation.callback.gatt;

/**
 * callback for characteristic value change
 */
public interface BleCharacteristicValueChangeCallback {
    /**
     * The device actively reports the change of the characteristic value of the Bluetooth low energy device
     *
     * @param deviceId Bluetooth device ID
     * @param characteristicId Bluetooth device of characteristic UUID
     * @param data The latest characteristic value, constructed in a hexadecimal string
     */
    void onBleCharacteristicValueChange(String deviceId, String characteristicId, String data);
}
